package com.whu.helpluojia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whu.helpluojia.domain.Find;
import com.whu.helpluojia.domain.LostAndFound;
import com.whu.helpluojia.domain.MyPublish;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface LostAndFoundService extends IService<LostAndFound> {

    List<Find> insert(@RequestBody LostAndFound lostAndFound);

    void status(@RequestBody LostAndFound lostAndFound);

    void delete();

    LostAndFound[] selectAll();

    public List<MyPublish> getMyDetail(Long userId);

    void solute(Long id);
    public MyPublish getLafDetail(Long id,Long userId);
}
